package com.onesports.intelligent.k12.polarlight.domain.entity.course;

import com.baomidou.mybatisplus.annotation.TableName;

import com.onesports.intelligent.k12.polarlight.common.domain.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 班级学员表
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("class_student")
public class ClassStudent extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 班级id
     */
    private String classInfoId;
    /**
     * 学员id
     */
    private String studentId;
    /**
     * 加入时间
     */
    private Date joinTime;
    /**
     * 退出时间
     */
    private Date exitTime;
    /**
     * 是否在班级
     */
    private Boolean active;

    /**
     * 是否移除
     */
    private Boolean stayRemove;

    private Integer sort;

    /**
     * 总课次
     */
    private Integer totalNum;

    /**
     * 所有课的总签到数
     */
    private Integer signNum;

    /**
     * 所有课的总未到数
     */
    private Integer absentNum;

    /**
     * 所有课的总请假数
     */
    private Integer leaveNum;

    /**
     * 首次课id
     */
    private String scheduleDetailId;
}
